wayland: Explicitly handle classic mode for now
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 5 Jun 2014 14:34:43 +0000 (16:34 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 6 Jun 2014 13:32:59 +0000 (15:32 +0200)
commitadd67b516cb6cbd9b36454d880dd2d7156eced19
tree395a155fa1f93a41b908b26532a2ed13ea8506af
parentf4c963ef749e8476414f29a128ff2028eece571f
wayland: Explicitly handle classic mode for now

There are plans to add session-dependent defaults to GSettings
(based on the newly standardized XDG_CURRENT_DESKTOP); until
then, the WM uses a different schema for its button-layout
setting in classic mode. So for the time being, do the same
and pick the alternative schema when XDG_CURRENT_DESKTOP
indicates that we are in a classic session.
(It's not pretty, but hopefully won't be with us for too long ...)

https://bugzilla.gnome.org/show_bug.cgi?id=731273
gdk/wayland/gdkscreen-wayland.c